package cn.edu.hit.ht.dao;

import cn.edu.hit.ht.pojo.Caselist;
import cn.edu.hit.ht.pojo.CaselistExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface CaselistMapper {
    int countByExample(CaselistExample example);

    int deleteByExample(CaselistExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Caselist record);

    int insertSelective(Caselist record);

    List<Caselist> selectByExample(CaselistExample example);

    Caselist selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Caselist record, @Param("example") CaselistExample example);

    int updateByExample(@Param("record") Caselist record, @Param("example") CaselistExample example);

    int updateByPrimaryKeySelective(Caselist record);

    int updateByPrimaryKey(Caselist record);
}